<div class="page page-card-list">
  <div class="content">
    <div class="cards-wrap">
      <ul class="card-list" ng-if="cards.length > 0">
        <li class="card-item card-box" ng-repeat="card in cards" ng-click="selectCard(card)">
          <span class="bank">{{card.issuer}}</span>
          <span class="number">{{card.display_card_no}}</span>
        </li>
      </ul>
      <div class="card-box" ng-click="addCard()">
        <div class="text">
          <span class="plus">+</span>添加银行卡
        </div>
      </div>
    </div>
  </div>

  <div class="pay-form-dialog" ng-show="selectedCard">
    <form name="payForm" class="bhz-form">
      <div class="form-group form-group-sms">
        <input type="text" name="telephone" class="bhz-input form-control input-telephone" ng-model="validCode" placeholder="请输入短信验证码" maxlength="12">
        <div class="btn-wrap btn-inline btn-sms">
          <a href="javascript:void(0);" class="btn" ng-class="{'disabled': wating}" ng-click="getDynNum();"><span ng-show="!wating">获取短信验证码</span><span ng-show="wating"><span class="counting"></span>秒后重新发送</span></a>
        </div>
        <div class="success-info" ng-show="smsSend">短信发送成功，请注意查收</div>
      </div>

      <div class="btn-wrap">
        <a href="javascript:void(0);" class="btn btn-submit" ng-class="{disabled: !smsSend || submitting}" ng-click="pur();">支 付</a>
        <a href="javascript:void(0);" class="btn btn-cancel" ng-click="cancelPay();">返 回</a>
      </div>
    </form>
  </div>
</div>
